<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:useBean id="loginHandler" class="test.LoginFormBean" scope="request">
    <jsp:setProperty name="loginHandler" property="*"/>
</jsp:useBean>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Welocome TO Bank of ASV</title>
        <link href="templatemo_style.css" rel="stylesheet" type="text/css" />
    </head>



    <body>
        <div id="templatemo_site_title_bar_wrapper">
            <div id="templatemo_site_title_bar">
                <div id="site_title">
                    <h1><a href="#">
                            <!-- Work Template <span>free css templates</span> -->
                            <img src="images/templatemo_logo.png" alt="myWORK" />
                            <span>ASV Bank</span>

                        </a></h1>
                </div>



            </div> 
        </div> 

        <div id="templatemo_menu_wrapper">


        </div> 

        <div id="templatemo_content">
            <table cellpadding="2" cellspacing="2" align="center" width="800px">
               
                <form action="loginprocess.jsp">
                    <th bgcolor="#880000" colspan="4">
                        <font size=5>Enter Login Credentials</font>
                        <br>

                    </th>
                    <tr>
                        <td align="right" colspan="2">
                            <label>USER NAME </label>
                        </td>
                     
                        <td valign="top" colspan="2">
                            <input type="text" name="usr" value="<%=loginHandler.getUsr()%>" maxlength=20>
                                <br><font size=2 color=red><%=loginHandler.getErrorMsg("customer")%></font>
                                    <br>
                                        </td>
                                        </tr>
                                        <tr>
                                            <td align="right" colspan="2">
                                                <label>PASSWORD </label>
                                            </td>
                                            
                                            <td valign="top" colspan="2">
   <input type="password" name="pwd" value="<%=loginHandler.getPwd()%>"  maxlength=20>
                            <br><font size=2 color=red><%=loginHandler.getErrorMsg("pass")%></font>                                                    <br>
                                                        </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right" colspan="2">
                                                                <INPUT TYPE="image" SRC="images/submit.jpg" HEIGHT="30" WIDTH="100" BORDER="0" ALT="Submit Form">
                                                            </td>
                                                            <td align="left" colspan="2">
                                                                <a href="register.jsp"><INPUT TYPE="image" SRC="images/register.jpg" HEIGHT="30" WIDTH="100" BORDER="0" ALT="Submit Form"></a>
                                                            </td>

                                                        </tr>
                                                        </form>
                                                        </table>
                                                        </div> <!-- end of templatemo_content -->
                                                        <div id="templatemo_content_bottom"></div>

                                                        <div id="templatemo_footer_wrapper">

                                                        </div> <!-- end of footer wrapper -->
                                                        </body>
                                                        </html>